const Mock = require('mockjs');

module.exports = function() {
  return Mock.mock({
    "swiper|4": [
      "@image(100x100,@color)"
    ],
    "list|40": [
      {
        "id|+1": 1,
        "image": "@image(100x100,@color)",
        "title": "@ctitle(6,10)",
        "price|1-20": 1
      }
    ]
  })
}